import { createRouter, createWebHistory } from 'vue-router';
// import { routes } from './routes';
import { sczRoutes } from './sczRoutes';
import { LNFlisten } from './lnfListen';
import { list } from './xjm-list';
import { searchRoutes } from '@/router/search';
import { routes } from './tzl_routes';

const router = createRouter({
  history: createWebHistory(),
  routes: [...routes, ...sczRoutes, ...LNFlisten, ...list, ...searchRoutes],
  scrollBehavior() {
    return { top: 0, left: 0 };
  },
});

export default router;
